<!doctype html>
<head>
    <meta charset="utf-8"/>
    <title>华三日志SN码过滤</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!-- https://purecss.io/start/ -->
    <link rel="stylesheet" href="./Public/pure-min.css" type="text/css" /> 
    <link rel="stylesheet" href="./Public/dcc.css" type="text/css" /> 

    <script type="text/javascript" src="./Public/jquery-3.3.1.min.js"></script>
    <!-- <script type="text/javascript" src="./Public/jquery-2.2.4.min.js"></script> -->

    <script type="text/javascript" src="./Public/clipboard.min.js"></script>
    <!-- <script type="text/javascript" src="./Public/jquery.zclip.min.js"></script> -->

    <script type="text/javascript" src="./Public/dcc.js"></script>

    <style type="text/css"> 
     
    </style> 
</head>
<body>
    <pre id="ceshi"></pre>
    <div id="swname"></div><br />
    <pre id="sysn" class=""></pre>
    <div>
        <div id="sw1sn"></div>
        <pre id="sw1" class=""></pre>
    </div>
   
    <div id="portlist">
        <p>端口SN码</p>
        <div id="snall"></div>
        <!-- Slot 1 -->
        
    </div>

<div id="center">
  <p>SN码收集 筐试交换机</p>
  <button class="pure-button" onclick="location.reload();">清空数据</button>
  
  <button class="pure-button" onclick="set()">交换机信息设置</button>
  <button class="pure-button" onclick="dcc()">生成SN码数据</button>
  <div id="set" style="display: none;">
   功能暂未实现，代后续版本添加，暂只支持12500插同样板卡
    <div>
      <button class="pure-button" onclick="save()">保存设置</button>
    </div>
  </div>
      <textarea class="pure-input-1-2" placeholder="粘贴日志内容到文本框" id="log"></textarea>
</div>



<!-- 1. Define some markup -->





<!-- 3. Instantiate clipboard by passing a string selector -->
<script>
    var clipboard = new ClipboardJS('.btn');
    clipboard.on('success', function(e) {
        console.log(e);
    });
    clipboard.on('error', function(e) {
        console.log(e);
    });

    function set() {
        $("#set").toggle();
    }
</script>


</body>